package com.yhsimon.realm.member.service;

import com.yhsimon.realm.member.entity.article.CommentEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yhsimon.realm.member.vo.article.CommentVo;

import java.util.List;

/**
* @author 19819
* @description 针对表【ums_comment(评论信息表)】的数据库操作Service
* @createDate 2024-05-06 17:43:45
*/
public interface CommentService extends IService<CommentEntity> {

    List<CommentVo> listCommentByArticleId(long articleId,String userId);

    boolean saveComment(CommentEntity commentEntity);

    void likeComment(String id, String userId);

}
